<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" id="X-UA-Compatible" content="IE=edge" >
<title>MAIN</title>
<link rel="stylesheet" href="/css/common.css" />
<%@ include file="/view/include/jsp-include.jsp"%>
<%@ include file="/view/include/jquery-include.jsp"%>
<script language=javascript>
<!--
$(function() {
	
});

</script>
</head>

<body>
<div id="wrap">
	<div id="left">
    	<div class="side">
        	<ul>
            	<li class="logo"><a href="#"><img src="images/main/logo.jpg" alt="Logo" /></a></li>
                <li class="blankX"></li>
                <li class="menu_wrap">
	                <ul id="menu" class="menu">
	                <c:forEach items="${requestScope.menuList}" var="list" varStatus="status">
	                	<li class="<c:out value='${list.menuImgPath}'/>"><a href="/mainFrame.html?menuId=<c:out value='${list.menuId}'/>"><c:out value="${list.menuName}"/></a></li>
	                </c:forEach>
					</ul>
					<c:if test="${userInfo.roleId == 1}">
					<ul class="menu_admin">
                        <li class="menu_m0"><a href="/mainFrame.html?menuId=2">TMI admin</a></li>
                    </ul>
                    </c:if>
                </li>
            </ul>
        </div>
        <div class="contents">
        	<ul>
            	<li class="notice_body">
                	<ul>
                    	<a href="#">
                    	<li class="notice_title">notice</li></a>
                        <li class="notice_con">
                        	<ul>  
	                            <li class="notice_sub">
	                                <c:forEach items="${requestScope.noticeList}" var="listNotice" varStatus="status"> 
                                    <h6>
                                        <div style="width:200px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap;">
	                                        <c:out value='${listNotice.mawb}'/> 
	                                        <c:out value='${listNotice.divs}'/>
                                        </div>
                                    </h6>
                                    </c:forEach>
                                </li>
                                <li class="notice_da">
                                    <c:forEach items="${requestScope.noticeList}" var="listNotice2" varStatus="status"> 
                                    <h6><c:out value='${listNotice2.sDate}'/></h6>
                                    </c:forEach>
                                </li>
                            </ul>
                        </li>
                        <li class="banner01"><a href="#"><img src="images/main/banner_01.jpg" alt="Call Center" /></a></li>
                        <li class="banner02"><a href="http://www.e-tmi.com/" target="_blank"><img src="images/main/banner_02.jpg" alt="Homepage link" /></a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <div id="right">
    <embed src="images/main/main.swf" width="100%" height="768"></embed>
    </div>
</div>
</body>
</html>
